<template>
  <div>
    <h1>当前计数为： {{ count }}</h1>
    <button @click="increment">+1</button>
  </div>
</template>

<script setup>
import { ref } from 'vue'

const count = ref(100)
const increment = () => {
  return count.value++
}
</script>

<style lang="scss" scoped></style>
